
<?php
$this->beginWidget(
        'bootstrap.widgets.TbBox', array(
    'title' => Yii::t('AweCrud.app', 'View') . ' ' . "Cuenta",
    'headerIcon' => 'icon-eye-open',
        )
);
?>

<?php
$this->widget('bootstrap.widgets.TbDetailView', array(
    'data' => $model,
    'attributes' => array(
        array(
            'name' => 'usuario',
            'value' => ($model->id !== null) ? $model->contactoCrugeUser->crugeUser->username : null,
            'type' => 'html',
        ),
        array(
            'name' => 'email',
            'value' => ($model->id !== null) ? $model->contactoCrugeUser->crugeUser->email : null,
            'type' => 'html',
        ),
        array(
            'name' => 'password',
            'value' => ($model->id !== null) ? $model->contactoCrugeUser->crugeUser->password : null,
            'type' => 'html',
        ),
    ),
));
?>

<?php $this->endWidget(); ?>
